package com.hlbspringcloud.contentcenter.configuration;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * @Description:
 * @PROJECT_NAME: spring-cloud-alibaba
 * @CLASS_NAME: Feign的配置类,该类别加@Configuration注解,否则必须挪到@ComponentScan能扫描的包以外
 * @Author: huanglibin
 * @Date: 2020-05-26 22:59
 * @Version: 1.0
 */
public class GlobalUserCenterFeignConfiguration {
    @Bean
    public Logger.Level level(){
        //让Feign打印所有请求的细节
        return Logger.Level.FULL;
    }
}
